<p align="center"><a class="button" onClick="$('#batchs_form input.check-all').click(); if ($('#batchs_form input.check-all').attr('checked')) { $('#batchs_form input.check-all').click(); } $('input.approval_ids[value=<?php echo $this->approval_item['id']; ?>]').attr('checked', true); $('#batch_approval').click();" href="javascript:;">通过审核</a> &nbsp; <a class="button" onClick="$('#batchs_form input.check-all').click(); if ($('#batchs_form input.check-all').attr('checked')) { $('#batchs_form input.check-all').click(); } $('input.approval_ids[value=<?php echo $this->approval_item['id']; ?>]').attr('checked', true); $('#batch_decline').click();" href="javascript:;">拒绝审核</a></p>

<h3>内容</h3>
<p><?php echo $this->approval_item['content']; ?></p>

<?php if ($this->approval_item['data']['topics']) {  ?>
<h3>标签</h3>
<p><?php echo htmlspecialchars(implode(', ', $this->approval_item['data']['topics'])); ?></p>
<?php } ?>

<?php if ($this->approval_item['attachs']) {  ?>
<h3>附件</h3>
<p class="q_con_imgs i_alpHover">
	<?php foreach ($this->approval_item['attachs'] AS $key => $attach) { ?>
	<?php if ($attach['is_image']) { ?>
		<a href="<?php echo $attach['attachment']; ?>" target="_blank"><img src="<?php echo $attach['thumb']; ?>" alt="<?php echo $attach['attach_name']; ?>" /></a>
		<?php } else if (!$attach['is_image']) { ?>
		<p class="q_accessory"><a href="<?php echo download_url($attach['file_name'], $attach['attachment']); ?>" class="i_gltxtHide"><em class="q_ico"></em><?php echo $attach['file_name']; ?></a></p>
		<?php } ?>
	<?php } ?>
</p>
<?php } ?>

<p align="center"><a class="button" onClick="$('#batchs_form input.check-all').click(); if ($('#batchs_form input.check-all').attr('checked')) { $('#batchs_form input.check-all').click(); } $('input.approval_ids[value=<?php echo $this->approval_item['id']; ?>]').attr('checked', true); $('#batch_approval').click();" href="javascript:;">通过审核</a> &nbsp; <a class="button" onClick="$('#batchs_form input.check-all').click(); if ($('#batchs_form input.check-all').attr('checked')) { $('#batchs_form input.check-all').click(); } $('input.approval_ids[value=<?php echo $this->approval_item['id']; ?>]').attr('checked', true); $('#batch_decline').click();" href="javascript:;">拒绝审核</a></p>